/*
 * default.h
 *
 *  Created on: Apr 24, 2011
 *      Author: xrose
 */

#ifndef DEFAULT_H_
#define DEFAULT_H_
#include <sys/types.h>
#include <string>
#include <sys/socket.h>
#include <netdb.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <pthread.h>
#include <string.h>
#include <cstdlib>
//--
#define MAX_MSG 100
#define END_LINE 0x0A

#define SUCCESS 0
#define ERROR 1

#define MAX_STR_LEN 512
#define BUFFER_SIZE 10000

#define NUMBER_OF_BYTE 15

#endif /* DEFAULT_H_ */
